package com.feiyumall.account.entity.redis;

import com.feiyumall.account.entity.UserEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: Doate
 * @Date: Created in 2021/4/10 15:00
 * @Description:
 */

@Data
public class accountInfoEntity implements Serializable {

        Integer userId;
        String userName;
        Integer userPower;
        Boolean isTrue;


        public accountInfoEntity(UserEntity p) {
                this.userId = p.getUserId();
                this.userName = p.getUserName();
                this.userPower = p.getUserPower();
        }

        public accountInfoEntity() {
        }
}
